package com.itheima;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

//启动类
@ServletComponentScan       //开启Servlet组件扫描（只有打上这个注解，过滤器才能生效）
@Slf4j
@SpringBootApplication
public class TliasApplication {
    public static void main(String[] args) {
        SpringApplication.run(TliasApplication.class, args);
        log.info("项目启动完成！！！");
    }
}
